package com.qianfeng.Service;

import com.qianfeng.dao.ConsumeDao;
import com.qianfeng.model.Consume;

import java.sql.SQLException;
import java.util.List;

public class ConsumeService {
    private ConsumeDao consumeDao=new ConsumeDao();

    public List<Consume> selectAll() throws SQLException {
        List<Consume>  list=consumeDao.Search();
         return list;
    }
}
